package com.ganzi.ganziserver.dao;

import com.ganzi.ganziserver.core.Permissions;
import org.springframework.stereotype.Repository;

import java.math.BigInteger;
import java.util.List;

@Repository
public interface PermissionsDao {

    public Permissions findPermissionById(long id)throws Exception;
    public List<Permissions> findAllPermission(long id)throws Exception;
    public void insertPermissions(Permissions permissions)throws Exception;
    public void deletePermissions(long id)throws Exception;
}
